/*
 * COPYRIGHT. ShenZhen JiMi Technology Co., Ltd. 2017.
 * ALL RIGHTS RESERVED.
 *
 * No part of this publication may be reproduced, stored in a retrieval system, or transmitted,
 * on any form or by any means, electronic, mechanical, photocopying, recording, 
 * or otherwise, without the prior written permission of ShenZhen JiMi Network Technology Co., Ltd.
 *
 * Amendment History:
 * 
 * Date                   By              Description
 * -------------------    -----------     -------------------------------------------
 * 2017年5月5日    Li.Shangzhi         Create the class
 * http://www.jimilab.com/
*/

package com.jimi.framework.dubbo;

import com.alibaba.dubbo.config.ProtocolConfig;

/**
 * @FileName DubboDestruction.java
 * @Description: dubbo优雅关机
 *
 * @Date 2017年5月5日 下午4:52:16
 * @author Li.Shangzhi
 * @version 1.0
 */
public class DubboDestruction {

	public DubboDestruction() {
    }

    public void destroy() throws Exception {
        ProtocolConfig.destroyAll();
    }
}
